package com.lsyw.intergrate.serviceImpl;

import com.lsyw.intergrate.entity.JcFactor;
import com.lsyw.intergrate.mapper.JcFactorMapper;
import com.lsyw.intergrate.service.JcFactorService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 监测因子 服务实现类
 * </p>
 *
 * @author 刘磊
 * @since 2023-12-11
 */
@Service
public class JcFactorServiceImpl extends ServiceImpl<JcFactorMapper, JcFactor> implements JcFactorService {

    @Override
    public List<JcFactor> getListByDeviceId(String deviceId) {
        return baseMapper.getListByDeviceId(deviceId);
    }

    @Override
    public List<JcFactor> getListByDeviceList(List<String> idList) {
        return baseMapper.getListByDeviceList(idList);
    }
}
